<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../utils/index.js"></script>
  <style>
    .pullevent-con {
      position: absolute;
      top: 0;
      left: 0;
      width: 300px;
      height: 400px;
      border: 3px solid cyan;
      transition-duration: 200ms;

      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      box-sizing: border-box;
    }

    .pull_process {
      position: relative;
      width: 150px;
      height: 150px;
    }

    .wrapper {
      position: absolute;
      top: 0;
      height: 100%;
    }

    .wrapperLeft {
      left: 0;
      width: 50%;
      overflow: hidden;
    }

    .wrapperRight {
      right: 0;
      width: 50%;
      overflow: hidden;
    }

    .circle {
      position: absolute;
      width: 150px;
      height: 150px;
      top: 0;
      border-radius: 50%;
      border: 3px solid transparent;
      box-sizing: border-box;
      border-top: 3px solid red;
      border-right: 3px solid red;
    }

    .circleLeft {
      transform: rotate(45deg);
      left: 0;
      /* animation: leftAni 3s linear infinite; */
    }

    .circleRight {
      transform: rotate(-135deg);
      right: 0;
      /* animation: rightAni 3s linear infinite; */
    }

    @keyframes rightAni {
      0% {
        transform: rotate(-135deg);
      } 
      
      50%, 100% {
        transform: rotate(45deg);

      }
    }

    @keyframes leftAni {
      0%, 50% {
        transform: rotate(45deg);
      }

      100% {
        transform: rotate(225deg);

      }
    }

    .pull_text {
      color: orange;
    }
  </style>
</head>
<body>
  <div class="pullevent-con">

    <div class="pull_process">
      <div class="wrapper wrapperLeft">
        <div class="circle circleLeft"></div>
      </div>

      <div class="wrapper wrapperRight">
        <div class="circle circleRight"></div>
      </div>
    </div>
    <div class="pull_text"></div>
  </div>

  <script src="./index.js"></script>
</body>
</html>